<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>

<script>

    // 解构赋值是“模式匹配”，说白了，只要是左右两边结构一样，就能一一对应
    let [a,[b,[c]],[[d]]] = [1,[2,[3]],[[4]]];
    console.log(c);//3

</script>


</body>
</html>